package cn.darkhorse.ticket.store.service;

import cn.darkhorse.ticket.store.dto.TicketProductDetailsDTO;
import cn.darkhorse.ticket.store.pojo.TicketInventory;
import cn.darkhorse.ticket.store.vo.TicketInventoryVO;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 库存信息 服务类
 * </p>
 *
 * @author wangxinghui
 * @since 2024-01-16
 */
public interface TicketInventoryService extends IService<TicketInventory> {
	
	
	/**
	 * 列表
	 * @param productCode
	 * @param productName
	 * @param productTypeId
	 * @return
	 */
	List<TicketInventory> list(String productCode, String productName, Long productTypeId);
	/**
	 * 保存
	 * @param warehousingSubs
	 */
	void add(List<TicketProductDetailsDTO> warehousingSubs);
	
	/**
	 * 查看
	 * @param productId
	 * @return
	 */
	TicketInventoryVO view(Long productId);

}
